#include "Arca.h"
#include "Pisica.h"
#include "Soarece.h"
#include "Cioara.h"
#include "Balena.h"





using namespace std;
int main()
{
    Pisica a;
    a.setNume("maria");
    cout<<endl<<a.getNume()<<endl;
    cout<<endl;
    a.setRasa(haimana);
    a.print();
    cout<<endl<<endl;
    Soarece b;
    b.print();
    Ark noe;
    Animal *pPis =dynamic_cast<Animal*>(&a);
    cout<<endl<<"Dynamic cast:"<<endl;
    pPis->print();
    cout<<endl<<endl;
    noe.addAnimal(pPis);
    noe.addAnimal(&b);
    cout<<"WORKS";
}